﻿namespace RepeatedOutputConsoleApp
{
    internal class Program
    {
        public static async Task Main()
        {
            Console.WriteLine("程序启动：每隔1秒控制台输出");
            uint index = 0;
            while (true)
            {
                await Task.Delay(1000);
                Console.WriteLine($"{index:0000000000}");
                if (index == uint.MaxValue)
                {
                    index = 0;
                }
                else
                {
                    index++;
                }
            }
        }
    }
}
